//
//  ChooseModelFrame.m
//  庐山通
//
//  Created by zcj on 15-10-27.
//  Copyright (c) 2015年 郑朝军. All rights reserved.
//

#import "ChooseModelFrame.h"
#import "Grouble.h"

#define margen 10
#define imgTopH 150
@implementation ChooseModelFrame
- (void)setChooseModel:(ChooseModel *)chooseModel
{
    _chooseModel = chooseModel;
    CGFloat imgX = 0;
    CGFloat imgY = 0;
    CGFloat imgW = ScreenWidth - 2 * margen;
    CGFloat imgH = imgTopH;
    _imgAllH = CGRectMake(imgX, imgY, imgW, imgH);
    
    _cellH = CGRectGetMaxY(_imgAllH) + 2 *margen;
}
@end
